The total number of bytes read into buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
Remarks
Regardless of the compression method that is used, it is not possible to read 0-byte files.buffer